package com.cyt.cytcrm.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cyt.cytcrm.entity.Permission;
import com.cyt.cytcrm.entity.Role;
import com.cyt.cytcrm.mapper.PermissionMapper;
import com.cyt.cytcrm.mapper.RoleMapper;
import com.cyt.cytcrm.service.IPermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author PIGS
 * @since 2020-03-23
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements IPermissionService {
    @Autowired
    private PermissionMapper mapper;

    @Override
    public IPage<Permission> selectList(Page<Permission> page) {
        return mapper.selectList(page);
    }
}
